package com.demo.shiro.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author Jmy
 * @date 2019/7/26 19:10
 * @email jiaomingyu5778@gmail.com
 */
public interface SeqenceMapper {

    /**
     * @param seqName
     * @return
     */
    @Select("select ${seqName}.nextval from dual")
    Long getSequence(@Param("seqName") String seqName);
}
